package com.cy.pj.sys.dao;


import com.cy.pj.sys.pojo.Approval;
import com.cy.pj.sys.pojo.ApprovalHistory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApprovalHistoryDao {
    /**
     * 新增一条审批历史记录
     *
     * @param approval
     */
    void insertApprovalHistory(Approval approval);

    List<ApprovalHistory> selectApprovalHistory(Approval approval);
}
